package org.example.volunteerend.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.volunteerend.entity.PointsRecord;
import java.util.List;

@Mapper
public interface PointsRecordMapper {
    List<PointsRecord> findByUserId(@Param("userId") Integer userId);
    int countByUserId(@Param("userId") Integer userId);
} 